Package-level declarations
Types
Link copied to clipboard
data class MedicalCertificateCheckBox(val type: MedicalCertificateCheckBoxType = MedicalCertificateCheckBoxType.UNKNOWN, val checked: Boolean = false, val checkedConfidence: Double = 0.0, val quad: List<PointF>) : Parcelable
Structure to contain full information about found box.
Link copied to clipboard
Type of the checkbox.
Link copied to clipboard
data class MedicalCertificateDateRecord(val quad: List<PointF>, val value: String = "", val rawString: String = "", val type: MedicalCertificateDateRecordType = MedicalCertificateDateRecordType.UNDEFINED, val recognitionConfidence: Double = 0.0) : Parcelable
Structure to contain date record information.
Link copied to clipboard
Type of a date record.
Link copied to clipboard
Type of the medical certificate form.
Link copied to clipboard
data class MedicalCertificatePatientInfoBox(val quad: List<PointF>, val fields: List<MedicalCertificatePatientInfoField>, val hasContents: Boolean = false) : Parcelable
Patient information box.
Link copied to clipboard
data class MedicalCertificatePatientInfoField(val type: MedicalCertificatePatientInfoFieldType, val value: String, val recognitionConfidence: Double) : Parcelable
Patient information field.
Link copied to clipboard
Type of a field in the patient info box.
Link copied to clipboard
interface MedicalCertificateScanner
Interface for MedicalCertificateScanner API. See class documentation for more details.
Link copied to clipboard
data class MedicalCertificateScanningParameters(var shouldCropDocument: Boolean = true, var recognizePatientInfoBox: Boolean = true, var recognizeBarcode: Boolean = true, var extractCroppedImage: Boolean = false, var preprocessInput: Boolean = false) : Parcelable
Parameters for the medical certificate scanning. The scanner supports Form 1 (Arbeitsunfähigkeitsbescheinigung) and Form 21a (Ärztliche Bescheinigung für den Bezug von Krankengeld bei Erkrankung eines Kindes) from the KBV (Kassenärztliche Bundesvereinigung) list of forms.
Link copied to clipboard
data class MedicalCertificateScanningResult(val scanningSuccessful: Boolean = false, val patientInfoBox: MedicalCertificatePatientInfoBox, val checkBoxes: List<MedicalCertificateCheckBox>, val dates: List<MedicalCertificateDateRecord>, val formType: MedicalCertificateFormType = MedicalCertificateFormType.UNKNOWN, val clockwiseRotations: Int = 0, val croppedImage: ImageRef? = null, val scaleX: Double = 1.0, val scaleY: Double = 1.0, val documentDetectionResult: DocumentDetectionResult?) : AutoCloseable, Parcelable
The result of the medical certificate scanning.
Link copied to clipboard
API for medical certificate scanning.